package com.shortlink.common.mq;

/**
 * rocketMQ生产者抽象类
 *
 * @author wp
 */
public abstract class RocketMQProducer<T> {
    public abstract void send(T msg);

    protected String buildTitle(String topic, String tag) {
        return topic + ":" + tag;
    }
}
